package com.panda.admin.result;


import lombok.Getter;

public enum ResultEnums {
    SUCCESS(200,"请求成功"),
    Fail(500,"请求失败"),
    SERVICE_ERROR(400,"请求出错");


    /**
     * 编码
     */
    @Getter
    private int code;

    /**
     * 信息
     */
    @Getter
    private String msg;

    ResultEnums(int code,  String msg){
        this.code = code;
        this.msg = msg;
    }
}
